package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class SchemaNameClause {

    private int beginIndex;
    private int endIndex;
    private SchemaName schemaName;
    private Identifier schemaAuthorizationIdentifier;

    public SchemaNameClause(int beginIndex,
                            int endIndex,
                            SchemaName schemaName,
                            Identifier schemaAuthorizationIdentifier) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.schemaName = schemaName;
        this.schemaAuthorizationIdentifier = schemaAuthorizationIdentifier;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public SchemaName getSchemaName() {
        return schemaName;
    }

    public Identifier getAuthorizationSchemaAuthorizationIdentifier() {
        return schemaAuthorizationIdentifier;
    }

}
